build: The private reftest library needs to be shared
authorBenjamin Otte <otte@redhat.com>
Fri, 29 Mar 2019 08:43:16 +0000 (09:43 +0100)
committerBenjamin Otte <otte@redhat.com>
Fri, 29 Mar 2019 08:56:52 +0000 (09:56 +0100)
Otherwise the module and gtk-reftest will each have their own copy and
that'll mean all symbols - and inhibiting the shutdown - will exist
twice. Not good.

testsuite/reftests/meson.build

index a9c3608b454f96f2930a7e9c088979e978e9ffc8..e1a24c516388f8b150ef9eca9ef2a2ee04d824e8 100644 (file)
@@ -1,5 +1,5 @@
 # FIXME: $(no_undefined) ?
-libgtkreftestprivate = static_library('gtkreftestprivate',
+libgtkreftestprivate = shared_library('gtkreftestprivate',
   'reftest-compare.c', 'reftest-module.c', 'reftest-snapshot.c',
   dependencies : libgtk_dep)